import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
// 引入默认样式文件清除默认样式
import './assets/css/reset.css'
// 引入elementui(全局引入elementUI)
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 全局引入echarts
// import echarts from 'echarts'
//  挂载在vue原型
// Vue.prototype.$echarts = echarts

require('./mock/mock')
require('./mock/charts')
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
